﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020005C1 RID: 1473
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishTutorialGuideScRsp : IMessage<FinishTutorialGuideScRsp>, IMessage, IEquatable<FinishTutorialGuideScRsp>, IDeepCloneable<FinishTutorialGuideScRsp>, IBufferMessage
	{
		// Token: 0x170012DB RID: 4827
		// (get) Token: 0x06004236 RID: 16950 RVA: 0x000B4B0B File Offset: 0x000B2D0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishTutorialGuideScRsp> Parser
		{
			get
			{
				return FinishTutorialGuideScRsp._parser;
			}
		}

		// Token: 0x170012DC RID: 4828
		// (get) Token: 0x06004237 RID: 16951 RVA: 0x000B4B12 File Offset: 0x000B2D12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishTutorialGuideScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170012DD RID: 4829
		// (get) Token: 0x06004238 RID: 16952 RVA: 0x000B4B24 File Offset: 0x000B2D24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishTutorialGuideScRsp.Descriptor;
			}
		}

		// Token: 0x06004239 RID: 16953 RVA: 0x000B4B2B File Offset: 0x000B2D2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialGuideScRsp()
		{
		}

		// Token: 0x0600423A RID: 16954 RVA: 0x000B4B34 File Offset: 0x000B2D34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialGuideScRsp(FinishTutorialGuideScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.tutorialGuide_ = ((other.tutorialGuide_ != null) ? other.tutorialGuide_.Clone() : null);
			this.reward_ = ((other.reward_ != null) ? other.reward_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600423B RID: 16955 RVA: 0x000B4B9C File Offset: 0x000B2D9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishTutorialGuideScRsp Clone()
		{
			return new FinishTutorialGuideScRsp(this);
		}

		// Token: 0x170012DE RID: 4830
		// (get) Token: 0x0600423C RID: 16956 RVA: 0x000B4BA4 File Offset: 0x000B2DA4
		// (set) Token: 0x0600423D RID: 16957 RVA: 0x000B4BAC File Offset: 0x000B2DAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170012DF RID: 4831
		// (get) Token: 0x0600423E RID: 16958 RVA: 0x000B4BB5 File Offset: 0x000B2DB5
		// (set) Token: 0x0600423F RID: 16959 RVA: 0x000B4BBD File Offset: 0x000B2DBD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public TutorialGuide TutorialGuide
		{
			get
			{
				return this.tutorialGuide_;
			}
			set
			{
				this.tutorialGuide_ = value;
			}
		}

		// Token: 0x170012E0 RID: 4832
		// (get) Token: 0x06004240 RID: 16960 RVA: 0x000B4BC6 File Offset: 0x000B2DC6
		// (set) Token: 0x06004241 RID: 16961 RVA: 0x000B4BCE File Offset: 0x000B2DCE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ItemList Reward
		{
			get
			{
				return this.reward_;
			}
			set
			{
				this.reward_ = value;
			}
		}

		// Token: 0x06004242 RID: 16962 RVA: 0x000B4BD7 File Offset: 0x000B2DD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishTutorialGuideScRsp);
		}

		// Token: 0x06004243 RID: 16963 RVA: 0x000B4BE8 File Offset: 0x000B2DE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishTutorialGuideScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.TutorialGuide, other.TutorialGuide) && object.Equals(this.Reward, other.Reward) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004244 RID: 16964 RVA: 0x000B4C4C File Offset: 0x000B2E4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.tutorialGuide_ != null)
			{
				num ^= this.TutorialGuide.GetHashCode();
			}
			if (this.reward_ != null)
			{
				num ^= this.Reward.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004245 RID: 16965 RVA: 0x000B4CB7 File Offset: 0x000B2EB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004246 RID: 16966 RVA: 0x000B4CBF File Offset: 0x000B2EBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004247 RID: 16967 RVA: 0x000B4CC8 File Offset: 0x000B2EC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.reward_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.Reward);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this.tutorialGuide_ != null)
			{
				output.WriteRawTag(114);
				output.WriteMessage(this.TutorialGuide);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004248 RID: 16968 RVA: 0x000B4D40 File Offset: 0x000B2F40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.tutorialGuide_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.TutorialGuide);
			}
			if (this.reward_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Reward);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004249 RID: 16969 RVA: 0x000B4DB0 File Offset: 0x000B2FB0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishTutorialGuideScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.tutorialGuide_ != null)
			{
				if (this.tutorialGuide_ == null)
				{
					this.TutorialGuide = new TutorialGuide();
				}
				this.TutorialGuide.MergeFrom(other.TutorialGuide);
			}
			if (other.reward_ != null)
			{
				if (this.reward_ == null)
				{
					this.Reward = new ItemList();
				}
				this.Reward.MergeFrom(other.Reward);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600424A RID: 16970 RVA: 0x000B4E44 File Offset: 0x000B3044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600424B RID: 16971 RVA: 0x000B4E50 File Offset: 0x000B3050
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 66U)
				{
					if (num != 80U)
					{
						if (num != 114U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							if (this.tutorialGuide_ == null)
							{
								this.TutorialGuide = new TutorialGuide();
							}
							input.ReadMessage(this.TutorialGuide);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.reward_ == null)
					{
						this.Reward = new ItemList();
					}
					input.ReadMessage(this.Reward);
				}
			}
		}

		// Token: 0x040019FB RID: 6651
		private static readonly MessageParser<FinishTutorialGuideScRsp> _parser = new MessageParser<FinishTutorialGuideScRsp>(() => new FinishTutorialGuideScRsp());

		// Token: 0x040019FC RID: 6652
		private UnknownFieldSet _unknownFields;

		// Token: 0x040019FD RID: 6653
		public const int RetcodeFieldNumber = 10;

		// Token: 0x040019FE RID: 6654
		private uint retcode_;

		// Token: 0x040019FF RID: 6655
		public const int TutorialGuideFieldNumber = 14;

		// Token: 0x04001A00 RID: 6656
		private TutorialGuide tutorialGuide_;

		// Token: 0x04001A01 RID: 6657
		public const int RewardFieldNumber = 8;

		// Token: 0x04001A02 RID: 6658
		private ItemList reward_;
	}
}
